﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PasswordGenerator
{
    internal enum CharacterType { UpperCaseCharacter, LowerCaseCharacter, NumericCharacter, SpecialCharacter };

    internal class ASCIIRange
    {
        public ASCIIRange(int start, int end)
        {
            this.Start = start;
            this.End = end;
        }

        public int Start { get; private set; }
        public int End { get; private set; }
    }

    internal class CharacterBound
    {
        /*
         * ASCII table start from 33 to 126
         * [A-Z] from 65 to 90
         * [a-z] from 97 to 122
         * [0-9] from 48 to 57
         * [Special Characters] from 33 - 47, 58 - 64, 91 - 96, 123 - 126
         * */

        public const int UPPER_CHAR_UPPER_BOUND = 90;
        public const int UPPER_CHAR_LOWER_BOUND = 65;
        public const int LOWER_CHAR_UPPER_BOUND = 122;
        public const int LOWER_CHAR_LOWER_BOUND = 97;
        public const int NUMERIC_CHAR_UPPER_BOUND = 57;
        public const int NUMERIC_CHAR_LOWER_BOUND = 48;
    }
}
